package com.lemeng.service;

import com.lemeng.entity.PageResult;
import com.lemeng.entity.SchoolVo;
import com.lemeng.pojo.School;

import java.util.List;
import java.util.Map;

public interface SchoolService {

    public List<School> findAll();

    public PageResult<School> findPage(Integer page, Integer size);

    public List<School> findList(Map<String, Object> serchMap);
    public List<SchoolVo> selectCountInfo();

    public PageResult<SchoolVo> findPage(Integer page, Integer size, SchoolVo schoolVo) ;

    public School findById(Integer id);

    void add(School school);

    void update(School school);

    void delete(Integer id);
}
